package com.maven.front.mapper;


import com.maven.front.bean.SysRole;

import java.util.List;

public interface SysRoleMapper {
    int deleteByPrimaryKey(Integer roleId);

     //添加角色信息
    int insert(SysRole record);

    //根据name查询对应ID
    public SysRole selectRoleId(SysRole sysRole);

    int insertSelective(SysRole record);

    SysRole selectByPrimaryKey(Integer roleId);

    int updateByPrimaryKeySelective(SysRole record);

    int updateByPrimaryKey(SysRole record);

    public List<SysRole> select(SysRole sysRole);
}